<script>
	export default {
		onLaunch: function() {
			this.$store.dispatch('connectSocket')
			const domModule = weex.requireModule('dom');
			domModule.addRule('fontFace',{
				'fontFamily':"iconfont",
				'src':"url('http://at.alicdn.com/t/c/font_3906443_cblexef5kun.ttf')"
			});
			//监听底部导航中间凸起按钮
			uni.onTabBarMidButtonTap(() => {
				this.authJump({
					url:'/pages/create-live/create-live'
				});
			})
			this.$store.dispatch('initUser');
		},
		onShow: function() {
			
		},
		onHide: function() {
			
		}
	}
</script>

<style>
	@import url("/common/free.css");
	@import url("/common/common.css");
	/* #ifndef APP-PLUS-NVUE */
	@import url("/common/icon.css");
	/* #endif */
</style>
